<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include :: appHeader"></head>
<body th:style="|background-color:#f9fafc; background-image: url(@{/img/bg.png}); background-repeat: no-repeat;background-size: cover;background-attachment: fixed;|">
<div class="app-hd" style="margin-top: 60px">
    <h1 class="app-second-title">辽宁忠旺机械设备制造有限公司</h1>
    <div style="text-align: center;"><img th:src="@{img/logo.png}"
                                          width="124.5px" height="75px"></div>
    <h1 class="app-second-title">二维码转序系统</h1>
</div>
<div class="app-bd">
    <h1 class="app-second-title">二维码不正确。</h1>
    <div class="weui-btn-area">
        <a id="btn_gotoIndex" href="javascript:void(0);" class="weui-btn weui-btn_primary" style="margin-top: 35px">返回首页</a>
    </div>
</div>
<a id="url" style="display: none"></a>
<div th:include="include :: appFooter"></div>
<script th:src="@{/js/app-index.js}"></script>
<script>
    $(function (){
        $("#btn_gotoIndex").click(function (){
            $("#url").attr("href",ctx+'index/');
            document.getElementById("url").click();//模拟点击
        })
    })
</script>
</body>
</html>